package nvr.utils;

/**
 * 基本配置信息
 */
public class ConfigUtils {

    /**
     * Redis中 推流存储的 HGET key
     */
    public final static String REDIS_HASH_KEY = "nvr:ffmpeg";

    /**
     * FFmpeg任务ID
     */
    public final static String FFMPEG_CMD_ID = "stream_%s";

    public final static String FFMPEG_CMD_SNAP = "snap_%s";

    public final static String FFMPEG_CMD_IS_STOP = "isStop";

    public final static String AGENT = "Mozilla/5.0";

    public final static String VIDEO_TYPE_FLV = "FLV";
    public final static String VIDEO_TYPE_HLS = "HLS";
    public final static String VIDEO_RESULT_TITLE = "title";
    public final static String VIDEO_RESULT_URL = "videoUrl";
}
